﻿using System.ComponentModel.DataAnnotations;

namespace SmartCity.EventHandle.API.Read.DTO
{
    public class InstanceDto
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Key]
        public string InstanceId { get; set; }
        /// <summary>
        /// 行业编号
        /// </summary>
        public int IndustryId { get; set; }
        /// <summary>
        /// 行业名称
        /// </summary>
        public string IndustryName { get; set; }
        /// <summary>
        /// 分类编号
        /// </summary>
        public string TypeNo { get; set; }
        /// <summary>
        /// 分类名称
        /// </summary>
        public string TypeName { get; set; }
        /// <summary>
        /// 表单编号
        /// </summary>
        public string FormNo { get; set; }
        /// <summary>
        /// 表单名称
        /// </summary>
        public string FormName { get; set; }
        /// <summary>
        /// 表单提交的内容
        /// </summary>
        public string FormContent { get; set; }
        /// <summary>
        /// 流程状态
        /// </summary>
        public int FlowState { get; set; }
        /// <summary>
        /// 流程状态名称
        /// </summary>
        public string FlowStateName { get; set; }
        /// <summary>
        /// 发起人编号
        /// </summary>
        public int StartId { get; set; }
        /// <summary>
        /// 发起人名称
        /// </summary>
        public string StartName { get; set; }
        /// <summary>
        /// 当前节点编号
        /// </summary>
        public string CurrentNodeNo { get; set; }
        /// <summary>
        /// 当前节点名称
        /// </summary>
        public string CurrentNodeName { get; set; }
        /// <summary>
        /// 当前操作人编号
        /// </summary>
        public int CurrentOperatorId { get; set; }
        /// <summary>
        /// 当前操作人名称
        /// </summary>

        public string CurrentOperatorName { get; set; }
        /// <summary>
        /// 下一节点编号
        /// </summary>
        public string NextNodeNo { get; set; }
        /// <summary>
        /// 下一节点名称
        /// </summary>
        public string NextNodeName { get; set; }
        /// <summary>
        /// 下一操作人编号
        /// </summary>
        public int NextOperatorId { get; set; }
        /// <summary>
        /// 下一操作人名称
        /// </summary>
        public string NextOperatorName { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime? UpdateTime { get; set; }
    }
}
